package week9.Q3;

public class Test {
    public static void main(String[] args) {

        BMWCar bmw = new BMWCar();
        ToyotaCar toyota =new ToyotaCar();
        Carshop carshop =new Carshop();
        carshop.sellCar(bmw);
        carshop.sellCar(toyota);
        System.out.println(carshop.getMoney());




    }
}
